package cn.livingCloud.controller.core.validator;

import cn.livingCloud.dto.front.CaseReportFrontFormDto;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;

/**
 * Created by DingJie on 2016/6/13.
 */
@Component
public class CaseReportFrontFormDtoValidator extends CaseReportFormDtoValidator {
    @Override
    public boolean supports(Class<?> aClass) {
        return CaseReportFrontFormDto.class.equals(aClass);
    }

    @Override
    public void validate(Object o, Errors errors) {
        super.validate(o, errors);
    }
}
